// 该文件负责所有的公共的组件的全局注册   Vue.use
import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import UploadImg from './UploadImg'
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'
import Lang from './Lang'
import TagsView from './TagsView'
const components = [PageTools, UploadExcel, UploadImg, ScreenFull, ThemePicker, Lang, TagsView]
export default {
  install(Vue) {
    //  注册全局的通用栏组件对象
    // Vue.component('PageTools', PageTools)
    // Vue.component(UploadExcel.name, UploadExcel)
    components.forEach(com => {
      Vue.component(com.name, com)
    })
  }
}
